import {EventEmitter} from "events"
class Myevents extends EventEmitter {}
export default new Myevents()
// 这三行代码注册了一个事件总线